﻿// Silver.Globe, version 0.11 for Silverlight 1.1 Alpha
// Copyright © Florian Krüsch (xaml-kru.com)
// xaml-kru.com/silverglobe
// This source is subject to the Microsoft Public License (Ms-PL).
// See http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx.
// All other rights reserved.

using System;

namespace SilverglobeSample
{
    /// <summary>
    /// Display data for a global event.
    /// </summary>
    public class EventData
    {
        public String Title
        {
            get;
            private set;
        }

        public String Info
        {
            get;
            private set;
        }

        public String ImagePath
        {
            get;
            private set;
        }

        public EventData(String name, String info, String imagePath)
        {
            if (name == null)
                throw new ArgumentNullException("name");

            if (imagePath == null)
                throw new ArgumentNullException("imagePath");

            Title = name;
            Info = info;
            ImagePath = imagePath;
        }
    }
}
